package com.metaverse.backend.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.Table;

@Entity
@Table(indexes={
        @Index(
                columnList = "appId", unique = true
        )
})
@Data
@ApiModel("应用配置")
public class AppConfig extends BaseEntity{

    @ApiModelProperty("应用名称")
    private String name;

    @ApiModelProperty("接口地址")
    private String gateway;


    @ApiModelProperty("应用id")
    private String appId;


    @ApiModelProperty("应用密钥")
    private String secret;


}
